package lb.io.options;

public class SecureOptions {
    // lblet 绑定地址
    private String bindAddress;
    // lblet 绑定端口
    private int port;

    private long maxConnectionIdle;

    private long maxConnectionAge;

    private long maxConnectionAgeGrace;

    private long keepAliveTime;

    private long keepAliveTimout;

    public String getBindAddress() {
        return bindAddress;
    }

    public void setBindAddress(String bindAddress) {
        this.bindAddress = bindAddress;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public long getMaxConnectionIdle() {
        return maxConnectionIdle;
    }

    public void setMaxConnectionIdle(long maxConnectionIdle) {
        this.maxConnectionIdle = maxConnectionIdle;
    }

    public long getMaxConnectionAge() {
        return maxConnectionAge;
    }

    public void setMaxConnectionAge(long maxConnectionAge) {
        this.maxConnectionAge = maxConnectionAge;
    }

    public long getMaxConnectionAgeGrace() {
        return maxConnectionAgeGrace;
    }

    public void setMaxConnectionAgeGrace(long maxConnectionAgeGrace) {
        this.maxConnectionAgeGrace = maxConnectionAgeGrace;
    }

    public long getKeepAliveTime() {
        return keepAliveTime;
    }

    public void setKeepAliveTime(long keepAliveTime) {
        this.keepAliveTime = keepAliveTime;
    }

    public long getKeepAliveTimout() {
        return keepAliveTimout;
    }

    public void setKeepAliveTimout(long keepAliveTimout) {
        this.keepAliveTimout = keepAliveTimout;
    }

    @Override
    public String toString() {
        return "SecureOptions{" +
                "bindAddress='" + bindAddress + '\'' +
                ", port=" + port +
                '}';
    }
}
